home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / O Boy / Source / ComputerAEObj_pd.h < prev    next >
C/C++ Source or Header  |  1996-06-21  |  847b  |  53 lines

  1. #pragma once on
  2. /*
  3.     ComputerAEObj_pd.h
  4.     © Bob Boylan 1996
  5.  
  6.     Revision History
  7.     MacHack 1996        initial creation
  8. */
  9. #include "BaseTypes.h"
  10. #include "AEObj_pd.h"
  11. #include "PropertyValue_pd.h"
  12. #include "Clone_ut.h"
  13.  
  14. #include <vector.h>
  15.  
  16. // a fake class
  17. #define cComputer 'comP'
  18.  
  19.  
  20.  
  21. class ComputerAEObj_pd : public AEObj_pd
  22. {
  23. public:
  24.     // ctor
  25.                 ComputerAEObj_pd( );
  26.     // dtor
  27.         virtual    ~ComputerAEObj_pd();
  28.  
  29.     // getters    
  30.         virtual
  31.         string                    GetKindName() { return string("Computer") ; }
  32.         virtual
  33.         DescType                GetKindID() { return cComputer; }
  34.         virtual
  35.         Clone_ut< AEObj_pd >    GetParent() { return nil; }
  36.         virtual
  37.         Int_32                    GetSubModelCount(DescType inModelKind);
  38.     
  39. protected:
  40.  
  41.     // more getters    
  42.         virtual
  43.         Clone_ut< AETE_da >    GetAETE() { return nil; }
  44.     
  45.         virtual
  46.         string    GetObjAddr( vector<ObjectSpec_da>::iterator ioIter );
  47.  
  48.  
  49.     
  50. private:
  51.  
  52. };
  53.